<?php
/**
 * Created by PhpStorm.
 * User: qishengqiang
 * Date: 2022-07-05
 * Time: 18:57
 */

namespace app\applet\controller;


use app\home\BaseController;
use think\facade\Config;

class ConfigController extends BaseController
{
    public function indexAction()
    {
        $config = Config::get('common');

        return json()->data(['code' => 200, 'msg' => '操作成功', 'data' => $config]);
    }
}